<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>商品介绍</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link href="css/jquery.slideBox.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="css/sm.min.css">
    <link rel="stylesheet" href="css/base.css">
</head>
<body>
    <div>
        <div class="overScroll containerNav">
            <div class="bk flex flex-align-center flex-pack-center" style="height: 45px;">
                <img class="di renderBack pa lh0" src="images/renderBack.png" alt="">
                <span class="colorWhite f16">商品介绍</span>
            </div>
            <div id="demo3" class="slideBox">
                <ul class="items">
                    <li><img style="width:100%" src="images/1.jpg"></a></li>
                    <li><img style="width:100%" src="images/2.jpg"></a></li>
                    <li><img style="width:100%" src="images/3.jpg"></a></li>
                    <li><img style="width:100%" src="images/4.jpg"></a></li>
                    <li><img style="width:100%" src="images/5.jpg"></a></li>
                </ul>
            </div>
            <div class="pl flex flex-pack-justify flex-align-center border_bottom" style="height:60px">
                <div>
                    <div class="f14">农家茶叶</div>
                    <div class="f12 colorRed"><span>￥</span><span>32.00</span></div>
                </div>
                <div class="di border_ra cartCount tc flex">
                    <span class="di lh1 ht100 bkg_e5 widthSpan" id="minNum">-</span>
                    <input
                            id = 'changeNum'
                            value = 1
                            readOnly="readonly"
                            class="di ht100 borderno tc widthChange"
                    />
                    <span class="di lh1 ht100 bkg_e5 widthSpan" id="addNum">+</span>
                </div>
            </div>
            <div class="pl f14 flex flex-pack-justify flex-align-center border_bottom h40">
                <div>规格</div>
                <div>
                    1kg
                </div>
            </div>
            <div class="pl f14 flex flex-pack-justify flex-align-center border_bottom h40">
                <div>可配送地址</div>
                <div>
                    全国
                </div>
            </div>
            <div class="pl f14 flex flex-pack-justify flex-align-center border_bottom_dashed h40">
                <div>商品介绍</div>
                <div>
                    溯农
                </div>
            </div>
            <div class="f14 plall">
                有机大米是指栽种稻米的过程中，使用水电费hi哈等级丝氨酸回答苏卡时间段
            </div>
        </div>
        <div class="flex pf bottom0 width100 border_top" style="height:50px">
            <div class="flex flex-align-center flex-pack-center flex-1">
                <span class="f14">加入购物车</span>
            </div>
            <div class="flex flex-align-center flex-pack-center flex-1 bk">
                <span class="colorWhite f14">立即购买</span>
            </div>
        </div>
    </div>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/jquery.slideBox.min.js" type="text/javascript"></script>
    <script>
        jQuery(function($){
            $('#demo3').slideBox({
                duration : 0.3,//滚动持续时间，单位：秒
                easing : 'linear',//swing,linear//滚动特效
                delay : 5,//滚动延迟时间，单位：秒
                hideClickBar : false,//不自动隐藏点选按键
                clickBarRadius : 10
            });

            var num = $("#changeNum").val();
            $("#addNum").on("click",function(){
                ++num;
                $("#changeNum").val(num)
            })
            $("#minNum").on("click",function(){
                if(num > 1){
                    --num;
                    $("#changeNum").val(num)
                }
            })
        });


    </script>
</body>
</html>